package com.sdppf.service.impl;

import java.util.List;

import com.sdppf.dao.DeveloperDao;
import com.sdppf.domain.Developer;
import com.sdppf.service.DeveloperService;

public class DeveloperServiceImpl implements DeveloperService {
	private DeveloperDao developerDao;

	public DeveloperDao getDeveloperDao() {
		return developerDao;
	}

	public void setDeveloperDao(DeveloperDao developerDao) {
		this.developerDao = developerDao;
	}

	public void deleteDeveloper(Developer developer) {
		this.developerDao.deleteDeveloper(developer);
	}

	public Developer queryDeveloper(int developerId) {
		return this.developerDao.queryDeveloper(developerId);
	}

	public List<Developer> queryDevelopers() {
		return this.developerDao.queryDevelopers();
	}

	public void saveDeveloper(Developer developer) {
		this.developerDao.saveDeveloper(developer);
	}

	public void updateDeveloper(Developer developer) {
		this.developerDao.updateDeveloper(developer);
	}

}
